<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1px">
        <tr>
            <td>Id</td>
            <td>name</td>
            <td>Option</td>
        </tr>
        {% for sid in stu %}
        <tr>
            <td>{{ sid }}</td>
            <td>{{ stu[sid].name }}</td>
            <td><a href="/detail?id={{ sid }}">detail</a></td>
        </tr>
        {% endfor %}
        
    </table>
</body>
</html>